package com.ffyc.cemp.services.service.impl;

import com.ffyc.cemp.dao.mapper.ICinemaMapper;
import com.ffyc.cemp.domain.entity.Cinema;
import com.ffyc.cemp.services.service.ICinemaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class CinemaServiceImpl implements ICinemaService {

    @Autowired
    private ICinemaMapper cinemaMapper;


    @Override
    public List<Cinema> findAllCinemas() {
        return cinemaMapper.selectList(null);
    }
}
